#!/bin/bash
# Firefox locale matching array. The key is the Linux locale, the values are the names of locales in Debian and in Ubuntu.

declare -A FIREFOX_LOCALES=(
    ["ach_GB"]="ach,"
    ["af_ZA"]="af,af"
    ["an_ES"]="an,an"
    ["ar_AE"]="ar,ar"
    ["ast_ES"]="ast,ast"
    ["az_AZ"]="az,az"
    ["be_BY"]="be,be"
    ["bg_BG"]="bg,bg"
    ["bn_BD"]="bn,bn"
    ["bn_IN"]="bn,bn"
    ["br_FR"]="br,br"
    ["bs_BA"]="bs,bs"
    ["ca_ES"]="ca-valencia,ca"
    ["cak_GT"]="cak,cak"
    ["cs_CZ"]="cs,cs"
    ["cy_GB"]="cy,cy"
    ["da_DK"]="da,da"
    ["de_DE"]="de,de"
    ["dsb_DE"]="dsb,"
    ["el_GR"]="el,el"
    ["en_CA"]="en-ca,en"
    ["en_GB"]="en-gb,en"
    ["en_US"]=",en"
    ["eo_XX"]="eo,eo"
    ["es_AR"]="es-ar,es"
    ["es_CL"]="es-cl,es"
    ["es_ES"]="es-es,es"
    ["es_MX"]="es-mx,es"
    ["et_EE"]="et,et"
    ["eu_ES"]="eu,eu"
    ["fa_IR"]="fa,fa"
    ["ff_SN"]="ff,"
    ["fi_FI"]="fi,fi"
    ["fr_FR"]="fr,fr"
    ["fur_IT"]="fur,"
    ["fy_NL"]="fy-nl,fy"
    ["ga_IE"]="ga-ie,ga"
    ["gd_GB"]="gd,gd"
    ["gl_ES"]="gl,gl"
    ["gn_PY"]="gn,gn"
    ["gu_IN"]="gu-in,gu"
    ["he_IL"]="he,he"
    ["hi_IN"]="hi-in,hi"
    ["hr_HR"]="hr,hr"
    ["hsb_DE"]="hsb,hsb"
    ["hu_HU"]="hu,hu"
    ["hy_AM"]="hy-am,hy"
    ["ia_FR"]="ia,ia"
    ["ia_XX"]="ia,ia"
    ["id_ID"]="id,id"
    ["is_IS"]="is,is"
    ["it_IT"]="it,it"
    ["ja_JP"]="ja,ja"
    ["ka_GE"]="ka,ka"
    ["kab_DZ"]="kab,kab"
    ["kk_KZ"]="kk,kk"
    ["km_KH"]="km,km"
    ["kn_IN"]="kn,kn"
    ["ko_KR"]="ko,ko"
    ["lij_IT"]="lij,"
    ["lt_LT"]="lt,lt"
    ["lv_LV"]="lv,lv"
    ["mk_MK"]="mk,mk"
    ["mr_IN"]="mr,mr"
    ["ms_MY"]="ms,ms"
    ["my_MM"]="my,my"
    ["nb_NO"]="nb-no,nb"
    ["ne_NP"]="ne-np,ne"
    ["nl_NL"]="nl,nl"
    ["nn_NO"]="nn-no,nn"
    ["oc_FR"]="oc,oc"
    ["pa_IN"]="pa-in,pa"
    ["pl_PL"]="pl,pl"
    ["pt_BR"]="pt-br,pt"
    ["pt_PT"]="pt-pt,pt"
    ["rm_CH"]="rm,"
    ["ro_RO"]="ro,ro"
    ["ru_RU"]="ru,ru"
    ["sc_IT"]="sc,"
    ["sco_GB"]="sco,"
    ["si_LK"]="si,si"
    ["sk_SK"]="sk,sk"
    ["sl_SI"]="sl,sl"
    ["son_ML"]="son,"
    ["sq_AL"]="sq,sq"
    ["sr_RS"]="sr,sr"
    ["sv_SE"]="sv-se,sv"
    ["szl_PL"]="szl,szl"
    ["ta_IN"]="ta,ta"
    ["te_IN"]="te,te"
    ["tg_TJ"]="tg,tg"
    ["th_TH"]="th,th"
    ["tl_PH"]="tl,"
    ["tr_TR"]="tr,tr"
    ["trs_MX"]="trs,"
    ["uk_UA"]="uk,uk"
    ["ur_PK"]="ur,ur"
    ["uz_UZ"]="uz,uz"
    ["vi_VN"]="vi,vi"
    ["xh_ZA"]="xh,xh"
    ["zh_CN"]="zh-cn,zh-hans"
    ["zh_TW"]="zh-tw,zh-hant"
)